package cn.sc.summer.gateway;

import cn.sc.summer.constant.project.ProjectConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableFeignClients
@ComponentScan(basePackages = ProjectConstant.BASE_PACKAGE)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableScheduling
public class GatewayFeign {

    public static void main(String[] args) {
        SpringApplication.run(GatewayFeign.class, args);
    }

}
